package org.jeecg.modules.deviceInfo.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.models.auth.In;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 设备基础费率表
 * @Author: jeecg-boot
 * @Date:   2025-03-28
 * @Version: V1.0
 */
@Data
@TableName("device_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="device_info对象", description="设备基础费率表")
public class DeviceInfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**设备种类*/
	@Excel(name = "设备种类", width = 15)
    @ApiModelProperty(value = "设备种类")
    private String deviceType;
	/**设备名称和型号*/
	@Excel(name = "设备名称和型号", width = 15)
    @ApiModelProperty(value = "设备名称和型号")
    private String deviceNameModel;
	/**是否保留*/
	@Excel(name = "是否保留", width = 15)
    @ApiModelProperty(value = "是否保留")
    private String saveOrDiscard;
	/**类别型号*/
	@Excel(name = "类别型号", width = 15)
    @ApiModelProperty(value = "类别型号")
    private String typeNumber;
	/**卡片型号*/
	@Excel(name = "卡片型号", width = 15)
    @ApiModelProperty(value = "卡片型号")
    private String card;
	/**资产编号*/
	@Excel(name = "资产编号", width = 15)
    @ApiModelProperty(value = "资产编号")
    private String assetNumber;
	/**资产名称*/
	@Excel(name = "资产名称", width = 15)
    @ApiModelProperty(value = "资产名称")
    private String assetName;
	/**使用部门*/
	@Excel(name = "使用部门", width = 15)
    @ApiModelProperty(value = "使用部门")
    private String useDepart;
	/**原值*/
	@Excel(name = "原值", width = 15)
    @ApiModelProperty(value = "原值")
    private BigDecimal oldValue;
	/**净值*/
	@Excel(name = "净值", width = 15)
    @ApiModelProperty(value = "净值")
    private String netValue;
	/**累计折旧*/
	@Excel(name = "累计折旧", width = 15)
    @ApiModelProperty(value = "累计折旧")
    private String totalDepreciation;
	/**规格型号*/
	@Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
    private String model;
	/**类别名称*/
	@Excel(name = "类别名称", width = 15)
    @ApiModelProperty(value = "类别名称")
    private String typeName;
	/**开始使用时间*/
	@Excel(name = "开始使用时间", width = 15)
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
//    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "开始使用时间")
    private String startTime;
	/**累计使用年月*/
	@Excel(name = "累计使用年月", width = 15)
    @ApiModelProperty(value = "累计使用年月")
    private Integer useMonth;
	/**累计计提年月*/
	@Excel(name = "累计计提年月", width = 15)
    @ApiModelProperty(value = "累计计提年月")
    private String jitiMonth;
	/**折旧科目*/
	@Excel(name = "折旧科目", width = 15)
    @ApiModelProperty(value = "折旧科目")
    private String depreciation;
	/**原值万元*/
	@Excel(name = "原值万元", width = 15)
    @ApiModelProperty(value = "原值万元")
    private BigDecimal oldValueW;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**额定功率*/
	@Excel(name = "额定功率", width = 15)
    @ApiModelProperty(value = "额定功率")
    private BigDecimal power;
	/**能耗比*/
	@Excel(name = "能耗比", width = 15)
    @ApiModelProperty(value = "能耗比")
    private BigDecimal powerConsumptionRatio;
	/**物料1名称*/
	@Excel(name = "物料1名称", width = 15)
    @ApiModelProperty(value = "物料1名称")
    private String material1Name;
	/**物料1编码*/
	@Excel(name = "物料1编码", width = 15)
    @ApiModelProperty(value = "物料1编码")
    private String material1Code;
	/**物料1月使用量*/
	@Excel(name = "物料1月使用量", width = 15)
    @ApiModelProperty(value = "物料1月使用量")
    private BigDecimal material1MonthUse;
	/**物料1单价*/
	@Excel(name = "物料1单价", width = 15)
    @ApiModelProperty(value = "物料1单价")
    private BigDecimal material1Price;

    /**物料1名称*/
    @Excel(name = "物料2名称", width = 15)
    @ApiModelProperty(value = "物料2名称")
    private String material2Name;
    /**物料1编码*/
    @Excel(name = "物料2编码", width = 15)
    @ApiModelProperty(value = "物料2编码")
    private String material2Code;
    /**物料1月使用量*/
    @Excel(name = "物料2月使用量", width = 15)
    @ApiModelProperty(value = "物料2月使用量")
    private BigDecimal material2MonthUse;
    /**物料1单价*/
    @Excel(name = "物料2单价", width = 15)
    @ApiModelProperty(value = "物料2单价")
    private BigDecimal material2Price;

    /**物料1名称*/
    @Excel(name = "物料3名称", width = 15)
    @ApiModelProperty(value = "物料3名称")
    private String material3Name;
    /**物料1编码*/
    @Excel(name = "物料3编码", width = 15)
    @ApiModelProperty(value = "物料3编码")
    private String material3Code;
    /**物料1月使用量*/
    @Excel(name = "物料3月使用量", width = 15)
    @ApiModelProperty(value = "物料3月使用量")
    private BigDecimal material3MonthUse;
    /**物料1单价*/
    @Excel(name = "物料3单价", width = 15)
    @ApiModelProperty(value = "物料3单价")
    private BigDecimal material3Price;


    /**物料1名称*/
    @Excel(name = "物料4名称", width = 15)
    @ApiModelProperty(value = "物料4名称")
    private String material4Name;
    /**物料1编码*/
    @Excel(name = "物料4编码", width = 15)
    @ApiModelProperty(value = "物料4编码")
    private String material4Code;
    /**物料1月使用量*/
    @Excel(name = "物料4月使用量", width = 15)
    @ApiModelProperty(value = "物料4月使用量")
    private BigDecimal material4MonthUse;
    /**物料1单价*/
    @Excel(name = "物料4单价", width = 15)
    @ApiModelProperty(value = "物料4单价")
    private BigDecimal material4Price;



    /**物料1名称*/
    @Excel(name = "物料5名称", width = 15)
    @ApiModelProperty(value = "物料5名称")
    private String material5Name;
    /**物料1编码*/
    @Excel(name = "物料5编码", width = 15)
    @ApiModelProperty(value = "物料5编码")
    private String material5Code;
    /**物料1月使用量*/
    @Excel(name = "物料5月使用量", width = 15)
    @ApiModelProperty(value = "物料5月使用量")
    private BigDecimal material5MonthUse;
    /**物料1单价*/
    @Excel(name = "物料5单价", width = 15)
    @ApiModelProperty(value = "物料5单价")
    private BigDecimal material5Price;



    /**物料1名称*/
    @Excel(name = "物料6名称", width = 15)
    @ApiModelProperty(value = "物料6名称")
    private String material6Name;
    /**物料1编码*/
    @Excel(name = "物料6编码", width = 15)
    @ApiModelProperty(value = "物料6编码")
    private String material6Code;
    /**物料1月使用量*/
    @Excel(name = "物料6月使用量", width = 15)
    @ApiModelProperty(value = "物料6月使用量")
    private BigDecimal material6MonthUse;
    /**物料1单价*/
    @Excel(name = "物料6单价", width = 15)
    @ApiModelProperty(value = "物料6单价")
    private BigDecimal material6Price;


    /**直接费率*/
	@Excel(name = "直接费率", width = 15)
    @ApiModelProperty(value = "直接费率")
    private BigDecimal directRate;
	/**辅助费率*/
	@Excel(name = "辅助费率", width = 15)
    @ApiModelProperty(value = "辅助费率")
    private BigDecimal indirectRate;
	/**设备折旧费率*/
	@Excel(name = "设备折旧费率", width = 15)
    @ApiModelProperty(value = "设备折旧费率")
    private BigDecimal depreciationRate;
	/**机物料费率*/
	@Excel(name = "机物料费率", width = 15)
    @ApiModelProperty(value = "机物料费率")
    private BigDecimal materialRate;

    /**机物料费率*/
    @Excel(name = "电费率", width = 15)
    @ApiModelProperty(value = "电费率")
    private BigDecimal powRate;



	/**人工费率*/
	@Excel(name = "人工费率", width = 15)
    @ApiModelProperty(value = "人工费率")
    private BigDecimal userRate;
	/**每小时设备成本*/
	@Excel(name = "每小时设备成本", width = 15)
    @ApiModelProperty(value = "每小时设备成本")
    private BigDecimal hourlyEquipmentCost;
	/**每小时辅助成本*/
	@Excel(name = "每小时辅助成本", width = 15)
    @ApiModelProperty(value = "每小时辅助成本")
    private BigDecimal hourlyIndirectCost;
	/**每小时人工成本*/
	@Excel(name = "每小时人工成本", width = 15)
    @ApiModelProperty(value = "每小时人工成本")
    private BigDecimal hourlyLaborCost;
	/**每小时总成本*/
	@Excel(name = "每小时总成本", width = 15)
    @ApiModelProperty(value = "每小时总成本")
    private BigDecimal totalHourlyCost;


    @ApiModelProperty(value = "版本号")
    private Integer version;
    @ApiModelProperty(value = "是否最新")
    private Integer isNew;

}
